package com.annotation.repository;

import org.springframework.stereotype.Repository;

//后面的括号代表指定bean的名字
@Repository("UserRepository")
public class UserRepositoryImpl implements UserRepository {
    @Override
    public void save() {
                System.out.println("UserRepository的save方法");
    }
}
